package com.tpp.controller;

import com.tpp.service.EmailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/email")
public class EmailController {
    @Autowired
    EmailService emailService;

//    @PostMapping("/sendMail")
//    public Boolean sendMail(@RequestBody Map map){
//        return emailService.sendMail(map);
//    }
}
